package com.yeyks.common.appcommon.param.room;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author Administrator
 */
@ApiModel("添加客房信息输入参数")
@Data
public class AddRoomInfoParam implements Serializable {
    private static final long serialVersionUID = -5509529382926677637L;

    @ApiModelProperty("房间图片")
    private List<String> imageUrls;

    @ApiModelProperty("酒店Id, 必传, 如果有token, 可不传")
    private Integer hotelId;

    @ApiModelProperty(value = "token的有效令牌",required = true)
    @NotBlank(message = "token不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty("房型名称")
    private String title;

    @ApiModelProperty("是否可用, 1可用，0不可用")
    private Boolean valid;

    @ApiModelProperty("原价")
    private Integer origPrice;

    @ApiModelProperty("现价(抢单价)")
    @NotNull(message = "抢单价不能为空")
    private Integer curPrice;

    @ApiModelProperty("抢单底价")
    private Integer bottomPrice;

    @ApiModelProperty("可住人数")
    private Integer maxPeople;

    @ApiModelProperty("【房间面积】平方")
    private Integer area;

    @ApiModelProperty("楼层")
    private Integer floor;

    @ApiModelProperty(value = "客房相关信息（1.7.0JSON）")
    private String roomInfoJson;

    @ApiModelProperty(value = "服务设施信息（1.7.0JSON）")
    private String devicesJson;

    @ApiModelProperty("【可预订数】每天总数")
    @NotNull(message = "【可预订数】每天总数不能为空")
    private Integer count;

    @ApiModelProperty("【剩余房间数】每天剩余")
    @NotNull(message = "【剩余房间数】每天剩余不能为空")
    private Integer available;

    @ApiModelProperty("备注【入住说明】")
    private String description;

}
